package com.education.util;

/**
 * Created by Fan on 2016/10/8.
 */
import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;

public class PropertiesUtils {

    public static Properties getProperties() {
        Properties property = new Properties();
        try {
            InputStream inputStream = PropertiesUtils.class.getClassLoader()
                    .getResourceAsStream("Configuration.properties");
            property.load(inputStream);
        } catch (IOException e1) {
            e1.printStackTrace();
        }
        return property;
    }
}